/* 重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: #0a0a16;
    color: #e0e0ff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 赛博朋克网格背景 */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.5;
}

/* 扫描线效果 */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(0, 255, 255, 0.8), 
        transparent);
    z-index: 999;
    animation: scan 3s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* 主容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 霓虹文字效果 */
.neon-text {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #fff,
        0 0 20px #0ff,
        0 0 35px #0ff,
        0 0 40px #0ff;
}

.neon-text-accent {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #fff,
        0 0 20px #f0f,
        0 0 35px #f0f,
        0 0 40px #f0f;
}

.neon-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #fff,
        0 0 20px #0ff,
        0 0 35px #0ff;
}

.neon-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #a0a0ff;
    text-shadow: 
        0 0 5px #a0a0ff,
        0 0 10px #a0a0ff;
}

.neon-accent {
    color: #f0f;
    text-shadow: 
        0 0 5px #f0f,
        0 0 10px #f0f,
        0 0 15px #f0f;
}

/* 头部样式 */
.cyber-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    margin-bottom: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    font-family: 'Orbitron', sans-serif;
}

.logo .neon-text {
    font-size: 2.5rem;
    font-weight: 900;
}

.logo .neon-text-accent {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: -5px;
}

.header-controls {
    display: flex;
    gap: 15px;
}

/* 赛博按钮样式 */
.cyber-button {
    position: relative;
    background: transparent;
    border: 1px solid #0ff;
    color: #0ff;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cyber-button:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 
        0 0 10px #0ff,
        inset 0 0 10px rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cyber-button .btn-glow {
    position: absolute;
    top: -10px;
    left: -100%;
    width: 100%;
    height: 150%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.cyber-button:hover .btn-glow {
    left: 100%;
}

/* 英雄区域 */
.hero-section {
    margin-bottom: 40px;
    padding: 30px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 5px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 30px;
    color: #c0c0ff;
}

.search-section {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* 赛博输入框 */
.cyber-input {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.cyber-input i {
    position: absolute;
    left: 15px;
    color: #0ff;
    font-size: 1.2rem;
    z-index: 1;
}

.cyber-input input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(0, 20, 30, 0.8);
    border: 1px solid #0ff;
    color: #0ff;
    font-size: 1.1rem;
    font-family: 'Exo 2', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.cyber-input input:focus {
    box-shadow: 0 0 15px #0ff;
}

.cyber-input .input-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0ff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cyber-input input:focus ~ .input-glow {
    transform: scaleX(1);
}

/* 筛选器区域 */
.filter-section {
    margin-bottom: 30px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-tag {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #f0f;
    color: #f0f;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-tag:hover, .filter-tag.active {
    background: rgba(255, 0, 255, 0.1);
    box-shadow: 0 0 10px #f0f;
}

/* 目的地卡片网格 */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 目的地卡片 */
.destination-card {
    background: rgba(15, 20, 40, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 10px 20px rgba(0, 255, 255, 0.2),
        0 0 30px rgba(0, 255, 255, 0.1);
    border-color: #0ff;
}

.card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 20, 40, 0.9), transparent);
}

.card-content {
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.card-region {
    font-size: 0.9rem;
    padding: 5px 10px;
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid #f0f;
    color: #f0f;
    border-radius: 3px;
}

.card-description {
    color: #b0b0ff;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-tag {
    padding: 5px 10px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #0ff;
    color: #0ff;
    font-size: 0.8rem;
    border-radius: 3px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-rating {
    display: flex;
    align-items: center;
    color: #ff0;
    font-weight: 600;
}

.card-rating i {
    margin-right: 5px;
}

.card-button {
    background: transparent;
    border: 1px solid #0ff;
    color: #0ff;
    padding: 8px 16px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.card-button:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px #0ff;
}

/* 页脚样式 */
.cyber-footer {
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    padding: 25px 0;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo .neon-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-sub {
    color: #8080ff;
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    background: transparent;
    border: none;
    color: #0ff;
    font-family: 'Exo 2', sans-serif;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #0ff;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #80ff80;
    font-size: 0.9rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #80ff80;
    box-shadow: 0 0 10px #80ff80;
}

.status-indicator.active {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.cyber-modal {
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid #0ff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #0ff;
}

.modal-close {
    background: transparent;
    border: none;
    color: #0ff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #f0f;
    transform: rotate(90deg);
}

.modal-content {
    padding: 30px;
}

.modal-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-bottom: 25px;
    border: 1px solid #0ff;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.modal-detail {
    padding: 15px;
    background: rgba(0, 20, 30, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.modal-detail h4 {
    color: #0ff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.modal-detail p {
    color: #c0c0ff;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cyber-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .neon-title {
        font-size: 2.5rem;
    }
    
    .neon-subtitle {
        font-size: 1.3rem;
    }
    
    .search-section {
        flex-direction: column;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}